Total Complexity | 27 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 217 |
Lines of code | 94 |
Logical lines of code | 47 |
Comment lines | 96 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
sgsb_get_offer_product_id() | 57 | 6 | 16 | |
sgsb_get_product_bogo_settings_for_cart() | 61 | 5 | 12 | |
sgsb_get_alternate_offer_products() | 60 | 4 | 12 | |
sgsb_is_load_product_bogo_offer() | 61 | 3 | 11 | |
sgsb_get_bogo_settings_option() | 68 | 2 | 7 | |
calculate_offer_price() | 66 | 2 | 8 | |
sgsb_get_global_offer_applied_product_ids() | 75 | 1 | 4 | |
sgsb_get_product_bogo_settings() | 75 | 1 | 4 | |
sgsb_get_global_offered_products() | 68 | 1 | 7 | |
sgsb_get_global_offered_product_list() | 72 | 1 | 5 | |
sgsb_prepare_bogo_settings() | 68 | 1 | 8 |